#include "MorphologyOpen.h"
#include "MorphologyDilation.h"
#include "MorphologyErosion.h"



MorphologyOpen::MorphologyOpen (const Core< int > & structElem)
  : Morphology (structElem)
{

}



Ptr< QImage > MorphologyOpen::operate (Ptr< QImage > pSrcImage)
{
  return MorphologyDilation (__structElem).operate (
      MorphologyErosion (__structElem).operate (pSrcImage));
}